package com.yiyi.credit.manage.sso.manager.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;


@Controller
public class IndexController {

    @RequestMapping(value = "/")
    public ModelAndView index() throws Exception {
        return new ModelAndView("/index");
    }

    @RequestMapping(value = "login")
    public ModelAndView rootIndex() throws Exception {
        return new ModelAndView("/login");
    }

    @RequestMapping(value = "manager")
    public ModelAndView managerIndex() throws Exception {
        return new ModelAndView("/manager/manager");
    }
}
